package com.edu.hbwe.book.dao;

import java.sql.SQLException;

import com.edu.hbwe.book.entity.User;

public interface UserDao {

	void addUser(User user) throws SQLException;

	User findUserByActiveCode(String activeCode) throws SQLException;

	User findUserByUsernameAndPassword(String username, String password) throws SQLException;

	void activeUser(String activeCode) throws SQLException;

}
